using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class MissionComplete : MonoBehaviour
{
    public string _announcement;

    void Start()
    {

    }

    void Update()
    {

    }

    private void OnGUI()
    {
        GUIStyle fontStyle = new GUIStyle();
        fontStyle.fontSize = 50;
        fontStyle.normal.background = null;
        fontStyle.normal.textColor = Color.white;
        fontStyle.alignment = TextAnchor.MiddleCenter;
        GUI.Label(new Rect(300, 100, 200, 100), _announcement, fontStyle);
    }
}
